/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.pitkley.jocabulary;

import java.util.ArrayList;

/**
 *
 * @author pit
 */
public class Set {

    private String name;
    private String cleanName;
    private ArrayList<Unit> units = new ArrayList<Unit>();

    public Set(String pName, String pCleanName) {
        name = pName;
        cleanName = pCleanName;
    }

    @Override
    public String toString() {
        return cleanName;
    }

    public String getName() {
        return name;
    }

    public void addUnit(Unit u) {
        units.add(u);
    }

    public ArrayList<Unit> getUnits() {
        return units;
    }
}
